# 创建一个线程，打印1~10
import threading
import time
class MyThread(threading.Thread):
    def run(self):
        for i in range(1, 11):
            print(i)
            time.sleep(1)
            print(threading.current_thread().getName())
            print(threading.current_thread().ident)


